@import "../../../styles/base";

.GameKingRank-record {
  color: white;
  padding-top: 120vw;
  padding-bottom: tovw(20);
  background: #230B31 url("./../images/banner.png") top center / 100% no-repeat;
  position: relative;

  .return-btn {
    font-size: tovw(24);
    color: #FFFFFF;
    letter-spacing: 0;
    font-weight: 500;
    position: absolute;
    top: tovw(402);
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: tovw(134);
    height: tovw(67);
    background-image: linear-gradient(180deg, #A3655C 0%, #71231A 100%);
    border: 1px solid rgba(255,233,147,1);
    box-shadow: 0 tovw(4) 0 0 rgba(48,0,0,0.66);
    border-radius: tovw(12);
  }

  .record-btn {
    font-size: tovw(24);
    color: #FFFFFF;
    letter-spacing: 0;
    font-weight: 500;
    position: absolute;
    top: tovw(310);
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: tovw(197);
    height: tovw(67);
    background-image: linear-gradient(180deg, #A3655C 0%, #71231A 100%);
    border: 1px solid rgba(255,233,147,1);
    box-shadow: 0 tovw(4) 0 0 rgba(48,0,0,0.66);
    border-radius: tovw(12);
  }

  main {
    overflow: hidden;
    width: tovw(700);
    background: #421B0F;
    border: tovw(7) solid rgba(255,226,173,1);
    border-radius: tovw(23);
    margin: auto;
    max-height: 60vh;
    overflow-y: auto;
    position: relative;
    top: -24vw;

    .title {
      width: 50vw;
      text-align: center;
      font-size: tovw(32);
      color: #FFF6A5;
      font-weight: 500;
      background: url("./../images/decorator.png") center left / tovw(25) no-repeat,
      url("./../images/decorator.png") center right / tovw(25) no-repeat;
      margin: 5vw auto;
      position: relative;
    }

    .line {
      width: tovw(606);
      height: tovw(1);
      background: rgba(138,57,32,1);
      margin: auto;
    }
  }

  .time-msg {
    font-size: tovw(36);
    color: #FFF97F;
    text-align: center;
    text-shadow: 0 tovw(2) tovw(4) rgba(0, 0, 0, 0.50);
    font-weight: 500;
    position: absolute;
    top: 88vw;
    left: 0;
    right: 0;
  }

  .diamond {
    text-align: right;
    display: inline-block;
    height: tovw(40);
    line-height: tovw(40);
    background: url("./../images/diamond.png") right center / tovw(28) no-repeat;
    padding-right: tovw(36);
  }

  .coin {
    text-align: right;
    display: inline-block;
    height: tovw(40);
    line-height: tovw(40);
    background: url("./../images/coin.png") right center / tovw(28) no-repeat;
    padding-right: tovw(36);
  }

  table {
    width: 100%;
    border-radius:  tovw(10);
    margin-bottom: tovw(15);
    margin-top: tovw(30);
    border-collapse: collapse;
    overflow: hidden;
    border: none;

    th {
      height: tovw(30);
      text-align: center;
      font-weight: 500;
      font-size: tovw(22);
      color: rgba(255,246,165,0.5);
    }

    td {
      height: tovw(120);
      font-size: tovw(22);
      color: #FFFFFF;
      text-align: center;
      font-weight: 500;
    }

    th, td {
      font-size: tovw(22);
      text-align: center;
      border: none;
    }
  }

  .gift {
    white-space: nowrap;
    width: tovw(140);
    height: tovw(82);
    line-height: tovw(82);
    display: inline-block;
    margin: 0 tovw(10);
    background: center center / tovw(82) no-repeat;
  }

  .gift-1 {
    background-image: url("./../images/gift-1.png");
  }
  .gift-2 {
    background-image: url("./../images/gift-2.jpeg");
  }
  .gift-3 {
    background-image: url("./../images/gift-3.jpeg");
  }
  .gift-4 {
    background-image: url("./../images/gift-4.png");
  }
  .gift-5 {
    background-image: url("./../images/gift-5.png");
  }
}
